


        var updateSwiperActive = null;
        var aboutActive = 0;
        var aboutSwiper = new Swiper('.aboutSwiper',{
            loop:true,
            allowTouchMove:false,
            autoplay:{
                disableOnInteraction: false,
                delay:4000
            },
            effect : 'fade',
            fadeEffect: {
                crossFade: true,
            },
            speed:1000
        })
        
        $(document).ready(function(){
            setTimeout(function(){
                $('footer + .btmLft').addClass('appear');
            },10)
            setTimeout(function(){
                $('footer + .btmLft').css('opacity','1');
                $('footer + .btmLft').css('pointer-events','all');
            },1210)
            
            $('.switch .loc ul li:eq(' + aboutActive + ')').addClass('active');
            $('.switch .loc .atPresent').text(('0' + (aboutActive + 1)));
            updateSwiperActive = setInterval(function(){
                var current = Number($('.aboutSwiper .swiper-slide-active').attr('data-swiper-slide-index'));
                if(aboutActive != current){
                    $('.switch .loc ul li').removeClass('active');
                    aboutActive = current;
                    $('.switch .loc ul li:eq(' + aboutActive + ')').addClass('active');
                    $('.switch .loc .atPresent').text(('0' + (aboutActive + 1)));
                }
            },10)
            $('.swiper.switch .contn .btn').click(function(){
                if($(this)[0].className.indexOf('prev') >= 0){
                    aboutSwiper.slidePrev(); 
                }else{
                    aboutSwiper.slideNext();
                }
            })

            $('main .swiper .loc ul li').click(function(){
                if(window.innerWidth > 1024) return false;
                var ind = $(this).index() + 1;
                aboutSwiper.slideTo(ind);
            })
            watchWindowWidth = setInterval(function(){
                if(window.innerWidth > 1024 && aboutSwiper.allowTouchMove){
                    aboutSwiper.allowTouchMove = false;
                }else if(window.innerWidth <= 1024 && !aboutSwiper.allowTouchMove){
                    aboutSwiper.allowTouchMove = true;
                }
            },10)
        })